package com.thinkgem.jeesite.common.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;


public class Message {
	public static String getContent(String content) {
		Properties prop =  new Properties();
		InputStream inStrem = Message.class.getClassLoader().getResourceAsStream("sys.properties");
		try {
			prop.load(inStrem);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return prop.getProperty(content);
	}

	public static void main(String[] args) {
		System.out.println(getContent("email.smtp"));;
	}
}
